package com.obas.model.business;

import com.obas.model.mature.EquipmentModel;
import com.obas.model.mature.EquipmentVendor;

/**
 * 设备
 */
public class Device extends Entity {

	/**
	 *
	 */
	private static final long serialVersionUID = 1853868040968846246L;

	public static final String Attribute_ipAddress = "ipAddress";

	private String telnetUsername;

	private String telnetPassword;

	private String assembleName;
	private String assembleCode;

	private long areaId;
	private Location area;

	private long subareaId;
	private Location subarea;

	private long siteId;
	private Location site;

	private long roomId;
	private Location room;

	private String ipAddress;
	// private String macAddress;

	private String nmIpAddress;

	private long equipmentVendorId;
	private EquipmentVendor equipmentVendor;

	private long equipmentModelId;
	private EquipmentModel equipmentModel;

	private String equipmentModelCode;
	private String entityTypeCode;
	private long parentDeviceId;

	/**
	 * @return the nmIpAddress
	 */
	public String getNmIpAddress() {
		return nmIpAddress;
	}

	/**
	 * @param nmIpAddress
	 *            the nmIpAddress to set
	 */
	public void setNmIpAddress(String nmIpAddress) {
		this.nmIpAddress = nmIpAddress;
	}

	/**
	 * @return the equipmentModelCode
	 */
	public String getEquipmentModelCode() {
		return equipmentModelCode;
	}

	/**
	 * @param equipmentModelCode
	 *            the equipmentModelCode to set
	 */
	public void setEquipmentModelCode(String equipmentModelCode) {
		this.equipmentModelCode = equipmentModelCode;
	}

	/**
	 * @return the entityTypeCode
	 */
	public String getEntityTypeCode() {
		return entityTypeCode;
	}

	/**
	 * @param entityTypeCode
	 *            the entityTypeCode to set
	 */
	public void setEntityTypeCode(String entityTypeCode) {
		this.entityTypeCode = entityTypeCode;
	}

	/**
	 * @return the parentDeviceId
	 */
	public long getParentDeviceId() {
		return parentDeviceId;
	}

	/**
	 * @param parentDeviceId
	 *            the parentDeviceId to set
	 */
	public void setParentDeviceId(long parentDeviceId) {
		this.parentDeviceId = parentDeviceId;
	}

	/**
	 * @return the assembleName
	 */
	public String getAssembleName() {
		return assembleName;
	}

	/**
	 * @param assembleName
	 *            the assembleName to set
	 */
	public void setAssembleName(String assembleName) {
		this.assembleName = assembleName;
	}

	/**
	 * @return the assembleCode
	 */
	public String getAssembleCode() {
		return assembleCode;
	}

	/**
	 * @param assembleCode
	 *            the assembleCode to set
	 */
	public void setAssembleCode(String assembleCode) {
		this.assembleCode = assembleCode;
	}

	/**
	 * @return the equipmentVendorId
	 */
	public long getEquipmentVendorId() {
		return equipmentVendorId;
	}

	/**
	 * @param equipmentVendorId
	 *            the equipmentVendorId to set
	 */
	public void setEquipmentVendorId(long equipmentVendorId) {
		this.equipmentVendorId = equipmentVendorId;
	}

	/**
	 * @return the equipmentVendor
	 */
	public EquipmentVendor getEquipmentVendor() {
		return equipmentVendor;
	}

	/**
	 * @param equipmentVendor
	 *            the equipmentVendor to set
	 */
	public void setEquipmentVendor(EquipmentVendor equipmentVendor) {
		this.equipmentVendor = equipmentVendor;
	}

	/**
	 * @return the equipmentModelId
	 */
	public long getEquipmentModelId() {
		return equipmentModelId;
	}

	/**
	 * @param equipmentModelId
	 *            the equipmentModelId to set
	 */
	public void setEquipmentModelId(long equipmentModelId) {
		this.equipmentModelId = equipmentModelId;
	}

	/**
	 * @return the equipmentModel
	 */
	public EquipmentModel getEquipmentModel() {
		return equipmentModel;
	}

	/**
	 * @param equipmentModel
	 *            the equipmentModel to set
	 */
	public void setEquipmentModel(EquipmentModel equipmentModel) {
		this.equipmentModel = equipmentModel;
	}

	/**
	 * @return the areaId
	 */
	public long getAreaId() {
		return areaId;
	}

	/**
	 * @param areaId
	 *            the areaId to set
	 */
	public void setAreaId(long areaId) {
		this.areaId = areaId;
	}

	/**
	 * @return the area
	 */
	public Location getArea() {
		return area;
	}

	/**
	 * @param area
	 *            the area to set
	 */
	public void setArea(Location area) {
		this.area = area;
	}

	/**
	 * @return the subareaId
	 */
	public long getSubareaId() {
		return subareaId;
	}

	/**
	 * @param subareaId
	 *            the subareaId to set
	 */
	public void setSubareaId(long subareaId) {
		this.subareaId = subareaId;
	}

	/**
	 * @return the subarea
	 */
	public Location getSubarea() {
		return subarea;
	}

	/**
	 * @param subarea
	 *            the subarea to set
	 */
	public void setSubarea(Location subarea) {
		this.subarea = subarea;
	}

	/**
	 * @return the siteId
	 */
	public long getSiteId() {
		return siteId;
	}

	/**
	 * @param siteId
	 *            the siteId to set
	 */
	public void setSiteId(long siteId) {
		this.siteId = siteId;
	}

	/**
	 * @return the site
	 */
	public Location getSite() {
		return site;
	}

	/**
	 * @param site
	 *            the site to set
	 */
	public void setSite(Location site) {
		this.site = site;
	}

	/**
	 * @return the roomId
	 */
	public long getRoomId() {
		return roomId;
	}

	/**
	 * @param roomId
	 *            the roomId to set
	 */
	public void setRoomId(long roomId) {
		this.roomId = roomId;
	}

	/**
	 * @return the room
	 */
	public Location getRoom() {
		return room;
	}

	/**
	 * @param room
	 *            the room to set
	 */
	public void setRoom(Location room) {
		this.room = room;
	}

	/**
	 * @return the telnetUsername
	 */
	public String getTelnetUsername() {
		return telnetUsername;
	}

	/**
	 * @param telnetUsername
	 *            the telnetUsername to set
	 */
	public void setTelnetUsername(String telnetUsername) {
		this.telnetUsername = telnetUsername;
	}

	/**
	 * @return the telnetPassword
	 */
	public String getTelnetPassword() {
		return telnetPassword;
	}

	/**
	 * @param telnetPassword
	 *            the telnetPassword to set
	 */
	public void setTelnetPassword(String telnetPassword) {
		this.telnetPassword = telnetPassword;
	}

	/**
	 * @return the ipAddress
	 */
	public String getIpAddress() {
		return ipAddress;
	}

	/**
	 * @param ipAddress
	 *            the ipAddress to set
	 */
	public void setIpAddress(String ipAddress) {
		this.ipAddress = ipAddress;
	}

}
